package com.ayou.eggguard.farm.service;

import com.ayou.common.utils.PageBean;
import com.ayou.eggguard.farm.pojo.ChickenFarm;

import java.util.List;

public interface ChickenFarmService {
    ChickenFarm getFarmByName(String farmName);

    void addFarm(ChickenFarm chickenFarm);

    void updateFarm(ChickenFarm chickenFarm);

    List<ChickenFarm> getAllFarm();

}
